/**
 * 功能说明：认证相关 API 封装（登录 / 注销）。
 */
import { post } from './http'

export const loginApi = (payload) => post('/auth/login', payload)
export const logoutApi = () => post('/auth/logout')